<script setup lang="ts">
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
import { webSocketClose, webSocketInit } from "./utils/webSocket";
onLaunch(() => {
  console.log("App Launch");
  webSocketInit();
});
onShow(() => {
  console.log("App onShow");
  // webSocketInit();
});
onHide(() => {
  console.log("App Hide");
  // webSocketClose();
});
</script>
<style lang="scss" scoped></style>
